package com.itheima.reggie.common;

import lombok.extern.slf4j.Slf4j;

@Slf4j
/*
 *自定义异常类:为了处理业务参数或者操作异常的情况下,抛出此异常*/
public class CustomException extends RuntimeException {

    public CustomException(String message) {
        super(message);
        log.info("自定义异常信息:{}", message);
    }
}
